﻿<telerik:RadWindow x:Class="Rio.Framework.Pages.ChildWindows.FolderAdministrationWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Header=""
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Width="750" Height="500" KeyDown="ChildWindow_KeyDown" >

    <Grid Name="LayoutRoot">
        <Grid.Background>
            <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                <GradientStop Color="#FFCACAD4" Offset="0.074" />
                <GradientStop Color="White" Offset="0.793" />
            </LinearGradientBrush>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition />
            <RowDefinition Height="50" />
        </Grid.RowDefinitions>
        
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="50"/>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <TextBlock Name="UsersAvaillableTextBlock" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="11" Margin="5" MaxWidth="330" TextWrapping="Wrap"/>
        <Border BorderBrush="Silver" Grid.Row="1" Grid.Column="0" BorderThickness="1" HorizontalAlignment="Stretch" Margin="20,0,20,20" >
            <ListBox Name="ListBoxUsersAvaillable" SelectionMode="Extended" Grid.Column="0" Grid.Row="1" MouseLeftButtonDown="ListBoxUsersAvaillable_MouseLeftButtonDown">
            </ListBox>
        </Border>

        <StackPanel Orientation="Vertical" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Margin="10,0,10,0">
            <Button Name="GoToRigthButton" Margin="0,0,0,10" Click="GoToRigthButton_Click">
                <Image Width="16" Height="16" Margin="0,0,2,0" Source="/Rio.Framework.Pages;component/Assets/Images/MoveToRight.png"/>
            </Button>
            <Button Name="GoToLeftButton" Click="GoToLeftButton_Click" >
                <Image Width="16" Height="16" Margin="0,0,2,0" Source="/Rio.Framework.Pages;component/Assets/Images/MoveToLeft.png"/>
            </Button>
        </StackPanel>

        <TextBlock Name="UsersSelectedTextBlock" Grid.Column="2" Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="11" Margin="5" MaxWidth="330" TextWrapping="Wrap" />
        <Border BorderBrush="Silver" Grid.Row="1" Grid.Column="2" BorderThickness="1" HorizontalAlignment="Stretch" Margin="20,0,20,20" >
            <ListBox Name="ListBoxUsersSelected" SelectionMode="Extended" Grid.Column="2" Grid.Row="1" MouseLeftButtonDown="ListBoxUsersSelected_MouseLeftButtonDown">

            </ListBox>
        </Border>

        <StackPanel Orientation="Horizontal" Grid.Row="2" Grid.ColumnSpan="3" HorizontalAlignment="Right" Margin="0,0,0,15">
            <Button Name="OkButton" Margin="0,0,10,0" Click="OkButton_Click" Height="30" />
            <Button Width="100" Name="CancelButton" Click="CancelButton_Click" Height="30" />
        </StackPanel>

    </Grid>
</telerik:RadWindow>
